package ywpt.service.config;

import org.springframework.stereotype.Service;

import ywpt.core.dao.extend.HibernateEntityExtendDao;
import ywpt.model.WarnSet;
@Service("warnSetService")
public class WarnSetServiceImpl extends HibernateEntityExtendDao<WarnSet> implements WarnSetService{

	@Override
	public WarnSet getWarnSetById(Long id) {
		return this.get(id);
	}

	@Override
	public void SaveWarnSet(WarnSet warnSet) {
		super.save(warnSet);
	}

	@Override
	public void UpdateWarnSet(WarnSet warnSet) {
		super.update(warnSet);
	}

}
